﻿using ZSoft.Telegram.DataAccess.Abstractions;
using ZSoft.Telegram.Domain.User;

using Zsoft.Telegram.Services.Abstraction;

namespace ZSoft.Telegram.Services
{
    /// <summary>
    /// Bussiness logic for user entites
    /// </summary>
    public class UserService: IUserService
    {

        private IRepository<ApplicationUser> _repository;

        public UserService(IRepository<ApplicationUser> repository)
        {
            this._repository = repository;
        }

        public IRepository<ApplicationUser> Repository
        {
            get
            {
                return this._repository;
            }
        }
    }
}
